package com.hzncc.flowable_diboot.contract.service.impl;

import com.diboot.core.service.impl.BaseServiceImpl;
import com.hzncc.flowable_diboot.contract.entity.ContractAuditUpdate;
import com.hzncc.flowable_diboot.contract.service.ContractAuditUpdateService;
import com.hzncc.flowable_diboot.mapper.ContractAuditUpdateMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import jakarta.annotation.Resource;


/**
* 合同变更 相关Service实现类
* @author MyName
* @version 1.0
* @date 2024-07-15
* Copyright © MyCorp
*/
@Slf4j
@Service
public class ContractAuditUpdateServiceImpl extends BaseServiceImpl<ContractAuditUpdateMapper, ContractAuditUpdate> implements ContractAuditUpdateService {
    
    @Resource
    private ContractAuditUpdateMapper contractAuditUpdateMapper;

    @Override
    public void deleteByContractCodeAndContractVersion(String contractCode, Long contractVersion) {
        contractAuditUpdateMapper.deleteByContractCodeAndContractVersion(contractCode,contractVersion);
    }


}